<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>大事件</title>
    <!-- 自己的样式表 -->
    <link rel="stylesheet" href="/assets/css/login.css" />
    <!-- layui的样式表 -->
    <link rel="stylesheet" href="/assets/lib/layui/css/layui.css" />
    <!-- 视频背景css -->
    <link rel="stylesheet" href="/assets/dist/jquery.vidbacking.css" />
  </head>
  <body>
    <!-- ---------背景视频---------- -->
    <video poster="" autoplay muted loop class="vidbacking">
      <!-- <source src="assets/Rallye" type="video/webm" /> -->
      <source src="./assets/images/test.mp4" type="video/mp4" />
    </video>
    <!-------- 顶部logo区域 ----------->
    <div class="layui-main">
      <img src="./assets/images/logo.png" alt="" />
    </div>

    <!-- -----------登录框----------- -->
    <div class="LoginBox">
      <div class="img_title"></div>
      <!-- --------登录-------- -->
      <div class="login_box">
        <form class="layui-form" action="" id="login_form">
          <!-- 用户名 -->
          <div class="layui-form-item">
            <i class="layui-icon layui-icon-username"></i>
            <input
              type="text"
              name="username"
              required
              placeholder="请输入用户名"
              autocomplete="off"
              class="layui-input"
              lay-verify="required|username"
            />
          </div>
          <!-- 密码 -->
          <div class="layui-form-item">
            <i class="layui-icon layui-icon-password"></i>
            <input
              type="password"
              name="password"
              required
              placeholder="请输入密码"
              autocomplete="off"
              class="layui-input"
              lay-verify="required|pwd"
            />
          </div>
          <!-- 登录按钮 -->
          <div class="layui-form-item">
            <button
              class="layui-btn layui-btn-fluid"
              lay-submit
              lay-filter="formDemo"
            >
              立即登录
            </button>
          </div>
          <div class="layui-form-item">
            <a href="javascript:;" id="login_link">去注册账号</a>
          </div>
        </form>
      </div>
      <!-- ----注册------ -->
      <div class="registration_box">
        <form class="layui-form" action="" id="registration_form">
          <!-- 用户名 -->
          <div class="layui-form-item">
            <i class="layui-icon layui-icon-username"></i>
            <input
              type="text"
              name="username"
              required
              placeholder="请输入用户名"
              autocomplete="off"
              class="layui-input"
              lay-verify="required|username"
            />
          </div>
          <!-- 密码 -->
          <div class="layui-form-item">
            <i class="layui-icon layui-icon-password"></i>
            <input
              type="password"
              name="password"
              required
              placeholder="请输入密码"
              autocomplete="off"
              class="layui-input"
              lay-verify="required|pwd"
            />
          </div>
          <!-- 确认密码 -->
          <div class="layui-form-item">
            <i class="layui-icon layui-icon-password"></i>
            <input
              type="password"
              name="repassword"
              required
              placeholder="请确认密码"
              autocomplete="off"
              class="layui-input"
              lay-verify="required|repassword"
            />
          </div>
          <!-- 注册按钮 -->
          <div class="layui-form-item">
            <button
              class="layui-btn layui-btn-fluid"
              lay-submit
              lay-filter="formDemo"
            >
              立即注册
            </button>
          </div>
          <div class="layui-form-item">
            <a href="javascript:;" id="registration_link">去登录</a>
          </div>
        </form>
      </div>
    </div>

    <!-- 框架模板js -->
    <script src="./assets/lib/layui/layui.all.js"></script>
    <!-- jquery -->
    <script src="./assets/lib/jquery.js"></script>
    <!-- 基础api -->
    <script src="./assets/js/baseAPI.js"></script>
    <!-- 页面js -->
    <script src="./assets/js/login.js"></script>
    <!-- 视频背景js -->
    <script src="./assets/dist/jquery.vidbacking.js"></script>
  </body>
</html>
